package com.night.card.mapper;


import com.night.common.entity.card.CardOutMachine;

import java.util.List;

/**
 * @ClassName: CardInMachineMapper
 * @Description: 校园一卡通消费卡机映射Mapper
 * @author: CHX42
 * @date: 2022/10/18-20:26
 * @version: v1.0
 */
public interface CardOutMachineMapper {
    /**
     * @Author CHX42
     * @Description 新增消费卡机
     * @Date  2022/10/20  14:11
     * @Param [cardOutMachine：封装消费卡机消息]
     * @return void
     **/
    void insert(CardOutMachine cardOutMachine);
    /**
     * @Author CHX42
     * @Description 删除消费卡机
     * @Date  2022/10/20  14:13
     * @Param [id：消费卡机id]
     * @return void
     **/

    void delete(Integer id);
    /**
     * @Author CHX42
     * @Description 修改消费卡机信息
     * @Date  2022/10/20  14:14
     * @Param [cardOutMachine：封装消费卡机信息,id必须封装]
     * @return void
     **/

    void update(CardOutMachine cardOutMachine);
    /**
     * @Author CHX42
     * @Description 多条件查询消费卡机
     * @Date  2022/10/20  14:15
     * @Param [cardOutMachine]
     * @return List<CardOutMachine>：消费卡机集合
     **/

    List<CardOutMachine> select(CardOutMachine cardOutMachine);


    CardOutMachine selectById(Integer id);

}
